LevelBar: Don’t pointlessly copy an allocation
authorDaniel Boles <dboles@src.gnome.org>
Tue, 8 Aug 2017 18:49:20 +0000 (19:49 +0100)
committerDaniel Boles <dboles@src.gnome.org>
Sat, 12 Aug 2017 14:13:36 +0000 (15:13 +0100)
now featuring the required comma :/

gtk/gtklevelbar.c

index 5092b0908051e0867f861489451246e031a4a779..9c8637decbeb89b702516b4a5a632d1a6a8888b6 100644 (file)
@@ -434,9 +434,8 @@ gtk_level_bar_allocate_trough_continuous (GtkLevelBar *self,
   inverted = gtk_level_bar_get_real_inverted (self);
 
   /* allocate the empty (unfilled) part */
-  block_area = *allocation;
   gtk_widget_size_allocate (self->priv->block_widget[inverted ? 0 : 1],
-                            &block_area,
+                            allocation,
                             baseline,
                             out_clip);